package com.binance.assetservice.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by caixinning on 2018/12/7.
 */
@ApiModel(value = "查询指定时间点的持仓")
@Data
public class UserAssetTimeQuery {

    @NotNull
    @ApiModelProperty(required = true)
    private Long userId;
    @NotEmpty
    @ApiModelProperty(required = true)
    private String asset;

    @NotNull
    @ApiModelProperty(required = true)
    private Date endTime;

}
